package com.designmodel.decorator;

/**
 * Created by
 * 实现了Car接口的抽象装饰类
 * @author touni
 * @date 2019/4/2
 * @time 16:15
 */
public abstract class AbstractBMWCarWrapper implements Car {
    protected Car carWrapper;

    public AbstractBMWCarWrapper(Car carWrapper){
        this.carWrapper = carWrapper;
    }
    public void getCarName() {
        carWrapper.getCarName();
    }
}
